package com.lei.sqlGoodsJsp.dao;

import java.util.List;

import com.lei.sqlGoodsJsp.entity.LoginUserEntity;

public interface LoginDao {
	void add(LoginUserEntity id);

	List<LoginUserEntity> listAll();

	LoginUserEntity getById(Long id);

	int getCount();

	/**
	 * 得到分类列表
	 * 
	 * @param currentPage
	 * @param pageSize
	 * @return
	 */
	List<LoginUserEntity> getPage(int currentPage, int pageSize);
}
